package edu.ustc.crm.manager;

import edu.ustc.crm.dao.UserDAO;

public class UserManagerImpl implements UserManager{
	private UserDAO userDAO;

	public UserDAO getUserDAO() {
		return userDAO;
	}

	public void setUserDAO(UserDAO userDAO) {
		this.userDAO = userDAO;
	}
	
	public boolean checkLogin(String userName, String userPwd){
		userName = userName.trim();
		return userDAO.checkLogin(userName, userPwd);
	}
}
